请求
curl --location 'https://openapi.gs-robot.com/v1alpha1/robots?page=1&pageSize=10&relation=cugrup'
--header 'Authorization: Bearer {{token}}'
输出
{
"robots": [
{
"serialNumber": "SIM00-0000-000-S046",
"name": "robots/SIM00-0000-000-S046",
"displayName": "s-slam-zhuyouji",
"modelFamilyCode": "S",
"modelTypeCode": "Scrubber S1",
"online": false
},
{
"serialNumber": "SIM00-0000-000-S045",
"name": "robots/SIM00-0000-000-S045",
"displayName": "S45",
"modelFamilyCode": "S",
"modelTypeCode": "S1",
"online": false
}
],
"page": 1,
"pageSize": 10,
"total": "2"
}